package com.heisnenhub.common.module.utils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;


@Component
public class ServiceNameUtils {

    public static String serviceName;


    @Value("${spring.application.name}")
    private void setServiceName(String serviceName){
        ServiceNameUtils.serviceName = serviceName;
        System.out.println("serviceName:--------" + serviceName);
    } ;

}
